package com.mmall.mmall002.service;

import com.mmall.mmall002.entity.Orders;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mmall.mmall002.entity.User;
import com.mmall.mmall002.vo.OrderVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 龙菲
 * @since 2021-03-02
 */
public interface OrderService extends IService<Orders> {
    public boolean save(Orders o,User user,String address,String remark);

    //根据用户编号查询所有订单信息
    public List<OrderVO> findAllOrdersByUserId(User user);
}
